<!DOCTYPE html>
<html>
  <head>
    <title>jQuery WeUI</title>
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">

<link rel="stylesheet" href="/lib/weui.min.css">
<link rel="stylesheet" href="/css/jquery-weui.css">
<link rel="stylesheet" href="/css/dist.css">
<link rel="stylesheet" href="/css/home.css">

  </head>

  <body ontouchstart>


    <header class='demos-header'>
      <h1 class="demos-title">超级管理平台</h1>
    </header>

    <div class="bd">
      <div class="page__bd">
        <div class="weui-cells__title">商户管理</div>
        <div class="weui-cells">
          <a class="weui-cell weui-cell_access" href="/admin/merchant/add?token=<%= docs.token %>">
            <div class="weui-cell__bd">
              <p>添加商户</p>
            </div>
            <div class="weui-cell__ft">
            </div>
          </a>
          <a class="weui-cell weui-cell_access" href="/admin/merchant/list?token=<%= docs.token %>">
            <div class="weui-cell__bd">
              <p>所有商户</p>
            </div>
            <div class="weui-cell__ft">
            </div>
          </a>
        </div>
    </div>
    <div class="weui-footer">
        <p class="weui-footer__links">
            <a href="http://jqweui.com" class="weui-footer__link">jQuery-WeUI 首页</a>
        </p>
        <p class="weui-footer__text">Copyright © 2016 jqweui.io</p>
    </div>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <script src="/lib/jquery-2.1.4.js"></script>
    <script src="/js/jquery-weui.js"></script>
    <script type="text/javascript">
    var jssdk = <%- JSON.stringify(docs.jssdk) %>;
    jssdk.jsApiList = ["closeWindow","hideMenuItems"];
    wx.config(jssdk);
    wx.ready(function(){
        wx.hideMenuItems({
            menuList: [
                "menuItem:editTag",
                "menuItem:delete",
                "menuItem:copyUrl",
                "menuItem:originPage",
                "menuItem:readMode",
                "menuItem:openWithQQBrowser",
                "menuItem:openWithSafari",
                "menuItem:share:email",
                "menuItem:share:brand",
                "menuItem:share:appMessage",
                "menuItem:share:timeline",
                "menuItem:share:qq",
                "menuItem:share:weiboApp",
                "menuItem:favorite",
                "menuItem:share:facebook",
                "menuItem:share:QZone"
            ] // 要隐藏的菜单项，只能隐藏“传播类”和“保护类”按钮，所有menu项见附录3
        });
    });
    </script>
  </body>
</html>
